#pragma once


class CResourceDocument
{
private:
	CStringA m_strScript;
	CStringA m_strHeader;

	static VOID ReadText(CFile &rFile, CStringA &rString);

public:
	CResourceDocument();

	VOID Clear();
	VOID Load(CFile &rScriptFile, CFile &rHeaderFile);
	VOID Save(CFile &rScriptFile, CFile &rHeaderFile);

	inline const CStringA &GetScriptCode() const
	{
		return m_strScript;
	}

	inline const CStringA &GetHeaderCode() const
	{
		return m_strHeader;
	}

};
